import {http} from "@/utils/request.js"

// 登录
export const loginService = (username,password) => {
	return http({
		url: '/user/login',
		method: 'POST',
		data: {
			username,
			password
		},
		header: {
			'content-type': 'application/x-www-form-urlencoded'
		}
	})
}